Skip to content

Add LM Studio MCP client support; document rejected clients#207

Merged
rhennigan merged 1 commit into
mainfrom
emmaL_LMStudioImplementation
Jun 26, 2026
Merged

Add LM Studio MCP client support; document rejected clients#207
rhennigan merged 1 commit into
mainfrom
emmaL_LMStudioImplementation

Conversation

@rhennigan

Copy link
Copy Markdown
Member

Implement InstallMCPServer support for LM Studio: a $supportedMCPClients entry targeting ~/.lmstudio/mcp.json (standard mcpServers JSON / Cursor notation, no converter, no project scope, default toolset "Wolfram" as a chat-first client), plus .lmstudio/mcp.json path detection in guessClientName. Adds tests (count bumped 19 -> 20), docs rows in mcp-clients.md and README.md, and the AgentSkills source reference (generated skill copies regenerated via BuildAgentSkills.wls).

Also document four clients researched and rejected for InstallMCPServer because they have no external config file to write to (Dify, RecurseChat, Msty, 5ire), with research notes and a "Rejected / Not Feasible" section in TODO/more-mcp-clients.md.

Implement InstallMCPServer support for LM Studio: a $supportedMCPClients
entry targeting ~/.lmstudio/mcp.json (standard mcpServers JSON / Cursor
notation, no converter, no project scope, default toolset "Wolfram" as a
chat-first client), plus .lmstudio/mcp.json path detection in
guessClientName. Adds tests (count bumped 19 -> 20), docs rows in
mcp-clients.md and README.md, and the AgentSkills source reference
(generated skill copies regenerated via BuildAgentSkills.wls).

Also document four clients researched and rejected for InstallMCPServer
because they have no external config file to write to (Dify, RecurseChat,
Msty, 5ire), with research notes and a "Rejected / Not Feasible" section
in TODO/more-mcp-clients.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 26, 2026 16:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request extends AgentTools’ InstallMCPServer client registry to support LM Studio (a chat-first MCP client with Cursor-style mcp.json), and adds documentation/research notes for several MCP clients that were investigated but deemed not feasible for automated installation.

Changes:

  • Add "LMStudio" to $supportedMCPClients (config at ~/.lmstudio/mcp.json) and enable path-based auto-detection in guessClientName.
  • Add a dedicated LM Studio test section to validate install/uninstall behavior, metadata, and detection (and bump supported-client count to 20).
  • Update user-facing docs/README and regenerate AgentSkills reference copies; add research notes including a “Rejected / Not Feasible” section for UI-only/internal-storage clients.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
TODO/more-mcp-clients.md Documents LM Studio implementation as completed and adds a “Rejected / Not Feasible” section with rationale for unsupported clients.
Tests/InstallMCPServer.wlt Adds LM Studio coverage (install location, name normalization, install/uninstall, preservation, autodetection, metadata) and updates supported-client count/keys.
README.md Adds LM Studio to the list of supported MCP client applications.
Kernel/SupportedClients.wl Registers "LMStudio" in $supportedMCPClients with Cursor-style mcpServers JSON at ~/.lmstudio/mcp.json and default toolset "Wolfram".
Kernel/InstallMCPServer.wl Adds .lmstudio/mcp.json path matching to guessClientName.
docs/mcp-clients.md Adds LM Studio to the supported-clients table and documents config location/format and a macOS cache-copy quirk.
client-research/lmstudio.md Adds detailed LM Studio research and the intended mapping to AgentTools implementation/tests/docs.
client-research/recurse-chat.md Adds research summary documenting why InstallMCPServer support is not feasible (UI-only config, platform constraints).
client-research/msty.md Adds research summary documenting why InstallMCPServer support is not feasible (UI-only config, format mismatch).
client-research/5ire.md Adds research summary documenting why InstallMCPServer support is not feasible (internal DB storage, limited release binaries).
AgentSkills/References/SetUpWolframMCPServer.md Updates the source reference list of supported clients to include LM Studio.
AgentSkills/Skills/wolfram-paclets/SKILL.md Bumps generated skill metadata version.
AgentSkills/Skills/wolfram-notebooks/SKILL.md Bumps generated skill metadata version.
AgentSkills/Skills/wolfram-language/SKILL.md Bumps generated skill metadata version.
AgentSkills/Skills/wolfram-alpha/SKILL.md Bumps generated skill metadata version.
AgentSkills/Skills/wolfram-paclets/references/SetUpWolframMCPServer.md Regenerated reference copy to reflect updated supported-client list (incl. LM Studio).
AgentSkills/Skills/wolfram-notebooks/references/SetUpWolframMCPServer.md Regenerated reference copy to reflect updated supported-client list (incl. LM Studio).
AgentSkills/Skills/wolfram-language/references/SetUpWolframMCPServer.md Regenerated reference copy to reflect updated supported-client list (incl. LM Studio).
AgentSkills/Skills/wolfram-alpha/references/SetUpWolframMCPServer.md Regenerated reference copy to reflect updated supported-client list (incl. LM Studio).
.claude-plugin/marketplace.json Updates plugin version metadata to match the regenerated AgentSkills version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rhennigan rhennigan merged commit 2ebd4f6 into main Jun 26, 2026
1 of 2 checks passed
@rhennigan rhennigan deleted the emmaL_LMStudioImplementation branch June 26, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants